<%@ page contentType="text/html;charset=utf-8" language="java"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%> 
<html:html> 
	<head>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<LINK href="../styles/sciencee.css"  type=text/css rel=stylesheet>
		<style type="text/css"></style>
		<title>CGProject</title>
		<html:base/>
	</head>
	<body>
		<table border="0" width="100%" cellspacing="1" id="table1" height="59" style="border: 1px solid #C0C0C0">
			
				<tr>
					<td height="29" align="left" width="15%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					&nbsp;<b><bean:message key="task"/></b></td>
					<td height="29" align="left" width="30%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					<b>&nbsp;<bean:message key="taskdes"/></b></td>
					<td height="29" align="left" width="8%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					<b>&nbsp;<bean:message key="make"/></b></td>
					<td height="29" align="left" width="8%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					<b>&nbsp;<bean:message key="planstarttime"/></b></td>
					<td height="29" align="left" width="13%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					<b>&nbsp;<bean:message key="expectedhours"/></b></td>
					<td height="29" align="left" width="20%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					&nbsp;<b>Status</b></td>
					
				</tr>

				<tr>
					<td height="29" align="left" width="15%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					&nbsp;<bean:write name="task" property="taskName"/></td>
					<td height="29" align="left" width="30%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					&nbsp;<bean:write name="task" property="taskDescription"/></td>
					<td height="29" align="left" width="8%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					&nbsp;<bean:write name="task" property="make.makeName"/></td>
					<td height="29" align="left" width="8%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					&nbsp;<bean:write name="task" property="ve"/></td>
					<td height="29" align="left" width="13%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					&nbsp;<bean:write name="task" property="exceptHours"/></td>
					<td height="29" align="left" width="20%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					&nbsp;
		<script language=javascript>
			var s=top.changeColor("<bean:write name="task" property="status.statusDisplay"/>");
			document.write(s);
		</script>
		</td>		
				</tr>
	
				<tr>
					<td height= "30" colspan="3">&nbsp;&nbsp;&nbsp;&nbsp; <html:link page="/index.do"><b>[<u><bean:message key="back"/></u>]</b></html:link></td>
					<td height= "30" colspan="1"><html:link page = "/doing.do?action=work" paramId="taskId" paramName="task" paramProperty="taskId"><b>[<u><bean:message key="doingtask"/></u>]</b></html:link></td>
					<td height= "30" colspan="1"><html:link page = "/doing.do?action=update" paramId="taskId" paramName="task" paramProperty="taskId"><b>[<u><bean:message key="uploadfiles"/></u>]</b></html:link></td>
				</tr>
				<logic:notEmpty name="message"> 
				<tr>
					<td height="29" align="left" colspan="6" width="100%" style="border-right:1px dotted #C0C0C0; border-bottom:1px dotted #C0C0C0; ">
					<font color="red"><b>&nbsp;<bean:write name="message" /></b></font></td>
				</tr>
				</logic:notEmpty>
				<tr>
				<td colspan="6" >

				<applet code="svn.project.SVNMainPane"  archive="../lib/svn/svnApplet.jar,../lib/svn/svnkit.jar,../lib/svn/svnkit-javahl.jar,../lib/svn/svnkitplugin.jar" width="100%" height="600">
					<param name ="svnUrl" value ="http://localhost:8081/svn/repos/default">
					<param name ="userName" value ="waen">
				</applet>
				
				
				</td>
				</tr>
		</table>
	</body>
</html:html>